using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Collections;

namespace Quanly_dethi.Class
{
    class csB_DapanCH
    {
        private csC_DapanCH x;

        public csC_DapanCH X
        {
            get { return x; }
            set { x = value; }
        }
        public csB_DapanCH()
        {
            x = new csC_DapanCH();
        }
        public csB_DapanCH(string servername, string user, string pass, string dbname)
        {
            x = new csC_DapanCH(servername, user, pass, dbname);
        }
        public DataTable Select()
        {
            return x.Sellect();
        }
        public DataTable Select(int ma)
        {
            return x.Sellect(ma);
        }
        public void Update(csE_DapanCH x)
        {
            this.x.Update(x);
        }
        public void Insert(csE_DapanCH x)
        {
            this.x.insert(x);
        }
    }
}
